@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  25% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.5);
  }
  75% {
    opacity: 0.1;
    transform: scale(3);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}
body.history-body-bg {
  background: url("../images/history_body_bg.jpg?v=2466636") no-repeat;
  background-size: cover;
}

.history-box {
  display: flex;
  display: -webkit-flex;
  justify-content: space-around;
  align-items: center;
}
.history-box .history-item {
  width: 18%;
  height: 88%;
  position: relative;
  background: #0c104b;
}
.history-box .history-item:before, .history-box .history-item:after {
  content: "";
  position: absolute;
  background: #0b0f3c;
}
.history-box .history-item:before {
  height: 30px;
  width: 1px;
  top: -30px;
  right: 0;
}
.history-box .history-item:after {
  width: 30px;
  height: 1px;
  top: 0;
  right: -30px;
}
.history-box .history-item a {
  display: block;
  color: #fff;
  height: 100%;
}
.history-box .history-item a h3 {
  width: 38px;
  height: 284px;
  background: #0c104b;
  position: absolute;
  right: -39px;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: bottom 0.275s cubic-bezier(0, 0, 0.58, 1);
}
.history-box .history-item a:hover h3 {
  bottom: 40px;
}
.history-box .history-item a:hover .hover-info {
  transform: scaleY(1);
}
.history-box .history-item a:hover .inner .info {
  opacity: 0;
  transform: translate3d(0, -50px, 0);
}
.history-box .history-item .hover-info {
  width: 119%;
  height: 112%;
  position: absolute;
  top: -25px;
  left: -6%;
  z-index: 25;
  background: url("../images/history-item-bg.png?v=cc8e25f") no-repeat;
  background-size: 100% 100%;
  transform: scaleY(0);
  transform-origin: top center;
  transition: all 0.375s cubic-bezier(0, 0, 0.58, 1);
}
.history-box .history-item .hover-info .nub-til {
  border: 10px #0c104b solid;
  margin-left: -100px;
  top: 85px;
}
.history-box .history-item .hover-info .info {
  bottom: 110px;
  padding-left: 40px;
  padding-right: 50px;
  color: #0c104b;
}
.history-box .history-item .inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: url("../images/building.png?v=9a590ef") no-repeat;
  animation: building1 15s linear infinite;
}
.history-box .history-item.item2 .inner {
  animation-name: building2;
}
.history-box .history-item.item3 .inner {
  animation-name: building3;
}
.history-box .history-item.item4 .inner {
  animation-name: building4;
}
.history-box .history-item .nub-til {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 10px #fff solid;
  position: absolute;
  left: 50%;
  margin-left: -90px;
  top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.history-box .history-item .nub-til .img {
  display: inline-block;
}
.history-box .history-item .info {
  height: 280px;
  position: absolute;
  bottom: 20px;
  padding: 0 20px;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: all 0.275s cubic-bezier(0, 0, 0.58, 1);
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.history-box .history-item .info h4 {
  font-size: 15px;
  letter-spacing: 4px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  position: relative;
}
.history-box .history-item .info h4:after {
  content: "";
  width: 40px;
  height: 5px;
  background: #d7b890;
  position: absolute;
  left: 0;
  bottom: 0;
}
.history-box .history-item .info p {
  font-weight: 200;
}

@keyframes building1 {
  0% {
    background-position: 0 0;
  }
  25% {
    background-position: 50% 0;
  }
  50% {
    background-position: 100% 0;
  }
  75% {
    background-position: 50% 0;
  }
  100% {
    background-position: 0 0;
  }
}
@keyframes building2 {
  0% {
    background-position: 50% 0;
  }
  25% {
    background-position: 100% 0;
  }
  50% {
    background-position: 50% 0;
  }
  75% {
    background-position: 0% 0;
  }
  100% {
    background-position: 50% 0;
  }
}
@keyframes building3 {
  0% {
    background-position: 75% 0;
  }
  25% {
    background-position: 100% 0;
  }
  50% {
    background-position: 50% 0;
  }
  75% {
    background-position: 0 0;
  }
  100% {
    background-position: 75% 0;
  }
}
@keyframes building4 {
  0% {
    background-position: 100% 0;
  }
  25% {
    background-position: 50% 0;
  }
  50% {
    background-position: 0 0;
  }
  75% {
    background-position: 50% 0;
  }
  100% {
    background-position: 100% 0;
  }
}
@media screen and (max-width: 1280px) {
  .history-box .history-item {
    width: 20%;
  }
  .history-box .history-item .nub-til {
    width: 120px;
    height: 120px;
    margin-left: -70px;
  }
  .history-box .history-item .nub-til .img {
    width: 72px;
  }
  .history-box .history-item .nub-til img {
    max-width: 100%;
  }
  .history-box .history-item .hover-info .nub-til {
    margin-left: -80px;
  }
  .history-box .history-item .info {
    height: 330px;
  }
}